200
How can I align the column to the right
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).Alignment := EXG2ANTTLib.AlignmentEnum.RightAlignment;
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
end
199
How do I change the column's caption
with AxG2antt1 do
begin
	(Columns.Add('Column') as EXG2ANTTLib.Column).Caption := 'new caption';
end
198
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
with AxG2antt1 do
begin
	set_FormatAnchor(False,'<b><u><fgcolor=880000> </fgcolor></u></b>');
	Columns.Add('Column');
	with Items do
	begin
		CellValueFormat[TObject(AddItem('Just an <a1>anchor</a> element ...')),TObject(0)] := EXG2ANTTLib.ValueFormatEnum.exHTML;
	end;
	with Items do
	begin
		CellValueFormat[TObject(AddItem('Just another <a2>anchor</a> element ...')),TObject(0)] := EXG2ANTTLib.ValueFormatEnum.exHTML;
	end;
	Items.AddItem('next item');
end
197
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
with AxG2antt1 do
begin
	set_FormatAnchor(True,'<b><u><fgcolor=FF0000> </fgcolor></u></b>');
	Columns.Add('Column');
	with Items do
	begin
		CellValueFormat[TObject(AddItem('Just an <a1>anchor</a> element ...')),TObject(0)] := EXG2ANTTLib.ValueFormatEnum.exHTML;
	end;
	with Items do
	begin
		CellValueFormat[TObject(AddItem('Just another <a2>anchor</a> element ...')),TObject(0)] := EXG2ANTTLib.ValueFormatEnum.exHTML;
	end;
end
196
Can I change the font for the tooltip
with AxG2antt1 do
begin
	ToolTipDelay := 1;
	ToolTipWidth := 364;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := '<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>';
end
195
Can I change the font for the tooltip
with AxG2antt1 do
begin
	ToolTipDelay := 1;
	with ToolTipFont do
	begin
		Name := 'Tahoma';
		Size := 14;
	end;
	ToolTipWidth := 364;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
194
Can I change the order of the buttons in the scroll bar
with AxG2antt1 do
begin
	set_ScrollOrderParts(EXG2ANTTLib.ScrollBarEnum.exHScroll,'t,l,r');
	set_ScrollOrderParts(EXG2ANTTLib.ScrollBarEnum.exVScroll,'t,l,r');
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
end
193
The thumb size seems to be very small. Can I make it bigger
with AxG2antt1 do
begin
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C2') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C3') as EXG2ANTTLib.Column).Width := 256;
	set_ScrollThumbSize(EXG2ANTTLib.ScrollBarEnum.exHScroll,64);
end
192
How can I display my text on the scroll bar, using a different font
with AxG2antt1 do
begin
	set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,'This is <s><font Tahoma;12> just </font></s> text');
	ColumnAutoResize := False;
	ScrollHeight := 20;
	(Columns.Add('C1') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C2') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C3') as EXG2ANTTLib.Column).Width := 256;
end
191
How can I display my text on the scroll bar, using a different font
with AxG2antt1 do
begin
	set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,'This is just a text');
	get_ScrollFont(EXG2ANTTLib.ScrollBarEnum.exHScroll).Size := 12;
	ColumnAutoResize := False;
	ScrollHeight := 20;
	(Columns.Add('C1') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C2') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C3') as EXG2ANTTLib.Column).Width := 256;
end
190
How can I display my text on the scroll bar
with AxG2antt1 do
begin
	set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exThumbPart,'this is just a text');
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C2') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C3') as EXG2ANTTLib.Column).Width := 256;
end
189
How do I enlarge or change the size of the control's scrollbars
with AxG2antt1 do
begin
	ScrollHeight := 18;
	ScrollWidth := 18;
	ScrollButtonWidth := 18;
	ScrollButtonHeight := 18;
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
end
188
How do I assign a tooltip to a scrollbar
with AxG2antt1 do
begin
	set_ScrollToolTip(EXG2ANTTLib.ScrollBarEnum.exHScroll,'This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar');
	ColumnAutoResize := False;
	(Columns.Add('C1') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C2') as EXG2ANTTLib.Column).Width := 256;
	(Columns.Add('C3') as EXG2ANTTLib.Column).Width := 256;
end
187
How do I assign an icon to the button in the scrollbar
with AxG2antt1 do
begin
	Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 
	'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 
	'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 
	'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=');
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,'<img>1</img>');
	ScrollHeight := 18;
	ScrollButtonWidth := 18;
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;
end
186
I need to add a button in the scroll bar. Is this possible
with AxG2antt1 do
begin
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartCaption(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,'1');
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;
end
185
Can I display an additional buttons in the scroll bar
with AxG2antt1 do
begin
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB1Part,True);
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exLeftB2Part,True);
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB6Part,True);
	set_ScrollPartVisible(EXG2ANTTLib.ScrollBarEnum.exHScroll,EXG2ANTTLib.ScrollPartEnum.exRightB5Part,True);
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableNoHorizontal;
end
184
Can I display the picture aligned to the right, while the text aligned to the left
with AxG2antt1 do
begin
	DefaultItemHeight := 48;
	Columns.Add('C1');
	with Items do
	begin
		s := SplitCell[TObject(AddItem('Text')),TObject(0)];
		CellPicture[Nil,TObject(s)] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
		CellHAlignment[Nil,TObject(s)] := EXG2ANTTLib.AlignmentEnum.RightAlignment;
	end;
end
183
How can I display a custom size picture to a cell or item
with AxG2antt1 do
begin
	DefaultItemHeight := 48;
	Columns.Add('C1');
	with Items do
	begin
		CellPicture[TObject(AddItem('Text')),TObject(0)] := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	end;
end
182
How can I display a multiple pictures to a cell or item
with AxG2antt1 do
begin
	DefaultItemHeight := 48;
	set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif');
	set_HTMLPicture('pic2','c:\exontrol\images\auction.gif');
	Columns.Add('C1');
	with Items do
	begin
		CellValueFormat[TObject(AddItem('<img>pic1</img> Text <img>pic2</img> another text ...')),TObject(0)] := EXG2ANTTLib.ValueFormatEnum.exHTML;
	end;
end
181
How do I change the column's foreground color for numbers between an interval - Range
with AxG2antt1 do
begin
	with ConditionalFormats.Add('dbl(%0) >= 2 and dbl(%0) <= 10',Nil) do
	begin
		Bold := True;
		ForeColor := $ff;
		ApplyTo := EXG2ANTTLib.FormatApplyToEnum($1);
	end;
	Columns.Add('N1');
	Columns.Add('N2');
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(1))),TObject(1)] := TObject(2);
	end;
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(3))),TObject(1)] := TObject(3);
	end;
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(10))),TObject(1)] := TObject(11);
	end;
	with Items do
	begin
		CellValue[TObject(AddItem(TObject(13))),TObject(1)] := TObject(31);
	end;
	SearchColumnIndex := 1;
end
180
How do I change the item's foreground color for numbers between an interval - Range
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) >= 2 and dbl(%0) <= 10',Nil).ForeColor := $ff;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
179
How do I change the item's background color for numbers less than a value
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) < 10',Nil).BackColor := $ff;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
178
How do I underline the numbers greater than a value
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) >= 10',Nil).Underline := True;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
177
How do I highlight in italic the numbers greater than a value
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) >= 10',Nil).StrikeOut := True;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
176
How do I highlight in italic the numbers greater than a value
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) >= 10',Nil).Italic := True;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
175
How do I highlight in bold the numbers greater than a value
with AxG2antt1 do
begin
	ConditionalFormats.Add('dbl(%0) >= 10',Nil).Bold := True;
	Columns.Add('Numbers');
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(10));
	Items.AddItem(TObject(20));
end
174
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	HasButtons := EXG2ANTTLib.ExpandButtonEnum.exCustom;
	set_HasButtonsCustom(False,16777216);
	set_HasButtonsCustom(True,33554432);
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
173
Can I use your EBN files to change the visual appearance for radio buttons

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_RadioImage(False,16777216);
	set_RadioImage(True,33554432);
	(Columns.Add('Radio') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton] := TObject(True);
	with Items do
	begin
		AddItem('Radio 1');
		CellState[TObject(AddItem('Radio 2')),TObject(0)] := 1;
		AddItem('Radio 3');
	end;
end
172
Can I use your EBN files to change the visual appearance for checkbox cells

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_CheckImage(EXG2ANTTLib.CheckStateEnum.Unchecked,16777216);
	set_CheckImage(EXG2ANTTLib.CheckStateEnum.Checked,33554432);
	(Columns.Add('Check') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox] := TObject(True);
	with Items do
	begin
		AddItem('Check 1');
		CellState[TObject(AddItem('Check 2')),TObject(0)] := 1;
	end;
end
171
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
with AxG2antt1 do
begin
	BeginUpdate();
	with VisualAppearance do
	begin
		Add(1,'c:\exontrol\images\normal.ebn');
		Add(2,'c:\exontrol\images\pushed.ebn');
		Add(3,'c:\exontrol\images\hot.ebn');
	end;
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumb,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbP,$2000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbH,$3000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumb,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumbP,$2000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSThumbH,$3000000);
	ScrollBars := Integer(EXG2ANTTLib.ScrollBarsEnum.exVScrollEmptySpace) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exHScrollEmptySpace) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exVScrollOnThumbRelease) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exHScrollOnThumbRelease) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exDisableBoth);
	ScrollBySingleLine := True;
	Columns.Add('Def');
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
		AddItem(TObject(3));
	end;
	EndUpdate();
end
170
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
with AxG2antt1 do
begin
	BeginUpdate();
	with VisualAppearance do
	begin
		Add(1,'c:\exontrol\images\normal.ebn');
		Add(2,'c:\exontrol\images\pushed.ebn');
		Add(3,'c:\exontrol\images\hot.ebn');
	end;
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumb,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbP,$2000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSThumbH,$3000000);
	ScrollBars := Integer(EXG2ANTTLib.ScrollBarsEnum.exVScrollEmptySpace) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exHScrollEmptySpace) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exVScrollOnThumbRelease) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exHScrollOnThumbRelease) Or Integer(EXG2ANTTLib.ScrollBarsEnum.exDisableBoth);
	ScrollBySingleLine := True;
	Columns.Add('Def');
	with Items do
	begin
		AddItem(TObject(1));
		AddItem(TObject(2));
		AddItem(TObject(3));
	end;
	EndUpdate();
end
169
I've seen that you can change the visual appearance for the scroll bar. How can I do that

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	VisualAppearance.Add(3,'c:\exontrol\images\hot.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtn,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtnP,$2000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exSBtnH,$3000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHSBack,$f0f0f0);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exVSBack,$f0f0f0);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exScrollSizeGrip,$f0f0f0);
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E2') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E3') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E4') as EXG2ANTTLib.Column).Width := 32;
	ColumnAutoResize := False;
	ScrollBars := EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
end
168
Is there any option to highligth the column from the cursor - point

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,$1000000);
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E2') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E3') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E4') as EXG2ANTTLib.Column).Width := 32;
end
167
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelBackColorFilter,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exSelForeColorFilter,$1414ff);
	(Columns.Add('Filter') as EXG2ANTTLib.Column).DisplayFilterButton := True;
end
166
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateHeader,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateTodayUp,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateTodayDown,$2000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollThumb,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateScrollRange,$e6e6e6);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateSeparatorBar,$e6e6e6);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exDateSelect,$1000000);
	with (Columns.Add('Date') as EXG2ANTTLib.Column) do
	begin
		FilterType := EXG2ANTTLib.FilterTypeEnum.exDate;
		DisplayFilterButton := True;
		DisplayFilterDate := True;
	end;
end
165
How do I change the visual aspect of the close button in the filter bar, using EBN

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,$1000000);
	(Columns.Add('Filter') as EXG2ANTTLib.Column).FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	ApplyFilter();
end
164
How do I change the visual aspect of buttons in the cell, using EBN

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exCellButtonUp,$1000000);
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exCellButtonDown,$2000000);
	SelForeColor := Color.FromArgb(0,0,0);
	ShowFocusRect := False;
	(Columns.Add('Column 1') as EXG2ANTTLib.Column).Def[EXG2ANTTLib.DefColumnEnum.exCellHasButton] := TObject(True);
	Items.AddItem('Button 1');
	Items.AddItem('Button 2');
	Columns.Add('Column 2');
end
163
How do I change the visual aspect of the drop down filter button, using EBN

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	set_Background(EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,$1000000);
	(Columns.Add('Filter') as EXG2ANTTLib.Column).DisplayFilterButton := True;
end
162
How do I enable resizing the columns at runtime
with AxG2antt1 do
begin
	ColumnsAllowSizing := True;
	MarkSearchColumn := False;
	HeaderVisible := EXG2ANTTLib.HeaderVisibleEnum.exHeaderHidden;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exVLines;
	with Items do
	begin
		CellValue[TObject(AddItem('Item 1')),TObject(1)] := 'Sub Item 1';
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('Item 2')),TObject(1)] := 'Sub Item 2';
	end;
end
161
How can I select the second inner column when spliting the cells
with AxG2antt1 do
begin
	SelectColumnInner := 1;
	FullRowSelect := EXG2ANTTLib.CellSelectEnum.exColumnSel;
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exAllLines;
	Columns.Add('Column');
	with Items do
	begin
		CellValue[Nil,SplitCell[TObject(AddItem('Split Cell 1.1')),TObject(0)]] := 'Split Cell 2.1';
		CellValue[Nil,SplitCell[TObject(AddItem('Split Cell 1.2')),TObject(0)]] := 'Split Cell 2.2';
		SelectItem[FirstVisibleItem] := True;
	end;
end
160
How can I sort by multiple columns

with AxG2antt1 do
begin
	SingleSort := False;
	(Columns.Add('C1') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortDescending;
	(Columns.Add('C3') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortAscending;
end
159
How can I add several columns to control's sort bar
with AxG2antt1 do
begin
	SortBarVisible := True;
	SortBarColumnWidth := 48;
	(Columns.Add('C1') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortDescending;
end
158
How can I change the width of the columns being displayed in the sort bar
with AxG2antt1 do
begin
	SortBarVisible := True;
	SortBarColumnWidth := 48;
	(Columns.Add('C1') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortAscending;
	(Columns.Add('C2') as EXG2ANTTLib.Column).SortOrder := EXG2ANTTLib.SortOrderEnum.SortDescending;
end
157
How can I change the height of the sort bar's
with AxG2antt1 do
begin
	SortBarVisible := True;
	SortBarHeight := 48;
end
156
How can I change the sort bar's foreground color
with AxG2antt1 do
begin
	SortBarVisible := True;
	ForeColorSortBar := Color.FromArgb(255,0,0);
end
155
How can I change the visual appearance of the control's sort bar, using EBN files

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	VisualAppearance.Add(2,'c:\exontrol\images\pushed.ebn');
	SortBarVisible := True;
	(GetOcx() as EXG2ANTTLib.G2antt).BackColorSortBar := $1000000;
	(GetOcx() as EXG2ANTTLib.G2antt).BackColorSortBarCaption := $2000000;
	Appearance := EXG2ANTTLib.AppearanceEnum.None2;
end
154
How can I change the sort bar's background color
with AxG2antt1 do
begin
	SortBarVisible := True;
	BackColorSortBar := Color.FromArgb(255,0,0);
	BackColorSortBarCaption := Color.FromArgb(128,0,0);
end
153
How can I change the default caption being displayed in the control's sort bar
with AxG2antt1 do
begin
	SortBarVisible := True;
	SortBarCaption := 'new caption';
end
152
How can I show the locked / fixed items on the bottom side of the control
with AxG2antt1 do
begin
	ShowLockedItems := True;
	Columns.Add('Column');
	with Items do
	begin
		LockedItemCount[EXG2ANTTLib.VAlignmentEnum.exMiddle] := 2;
		CellValue[TObject(LockedItem[EXG2ANTTLib.VAlignmentEnum.exMiddle,0]),TObject(0)] := 'locked item 1';
		CellValue[TObject(LockedItem[EXG2ANTTLib.VAlignmentEnum.exMiddle,1]),TObject(0)] := 'locked item 2';
		AddItem('un-locked item');
	end;
end
151
How can I show the locked / fixed items
with AxG2antt1 do
begin
	ShowLockedItems := True;
	Columns.Add('Column');
	with Items do
	begin
		LockedItemCount[EXG2ANTTLib.VAlignmentEnum.exTop] := 2;
		CellValue[TObject(LockedItem[EXG2ANTTLib.VAlignmentEnum.exTop,0]),TObject(0)] := 'locked item 1';
		CellValue[TObject(LockedItem[EXG2ANTTLib.VAlignmentEnum.exTop,1]),TObject(0)] := 'locked item 2';
		AddItem('un-locked item');
	end;
end
150
How can I hide the locked / fixed items
with AxG2antt1 do
begin
	ShowLockedItems := False;
	Columns.Add('Column');
	with Items do
	begin
		LockedItemCount[EXG2ANTTLib.VAlignmentEnum.exTop] := 1;
		CellValue[TObject(LockedItem[EXG2ANTTLib.VAlignmentEnum.exTop,0]),TObject(0)] := 'locked item';
		AddItem('un-locked item');
	end;
end
149
How can I show the control's sort bar
with AxG2antt1 do
begin
	SortBarVisible := True;
end
148
How can I stretch a picture on the control's header, when multiple levels are displayed, so it is not tiled
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\colorize.gif`)');
	PictureDisplayLevelHeader := EXG2ANTTLib.PictureDisplayEnum.Stretch;
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E1') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E2') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E3') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('E4') as EXG2ANTTLib.Column).Width := 32;
end
147
How can I display a picture on the control's header, when multiple levels are displayed, so it is not tiled
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\colorize.gif`)');
	PictureDisplayLevelHeader := EXG2ANTTLib.PictureDisplayEnum.MiddleRight;
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('E') as EXG2ANTTLib.Column).Width := 32;
end
146
How can I display a picture on the control's header, when multiple levels are displayed

with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).PictureLevelHeader := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
end
145
How can I change the header's background color, when multiple levels are displayed
with AxG2antt1 do
begin
	BackColorLevelHeader := Color.FromArgb(250,0,0);
	(Columns.Add('S') as EXG2ANTTLib.Column).Width := 32;
	(Columns.Add('Level 1') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 2') as EXG2ANTTLib.Column).LevelKey := TObject(1);
	(Columns.Add('Level 3') as EXG2ANTTLib.Column).LevelKey := TObject(1);
end
144
Can I programmatically scroll the control
with AxG2antt1 do
begin
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(3));
	PutItems(GetItems(TObject(0)),Nil);
	PutItems(GetItems(TObject(0)),Nil);
	set_ScrollPos(True,1);
end
143
How do I disable expanding or collapsing an item when user presses the arrow keys
with AxG2antt1 do
begin
	ExpandOnKeys := False;
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	Columns.Add('Column 1');
	with Items do
	begin
		h := AddItem('Root');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
	end;
end
142
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
with AxG2antt1 do
begin
	ExpandOnSearch := True;
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	AutoSearch := True;
	(Columns.Add('Column') as EXG2ANTTLib.Column).AutoSearch := EXG2ANTTLib.AutoSearchEnum.exContains;
	with Items do
	begin
		InsertItem(InsertItem(AddItem('text'),Nil,'some text'),Nil,'another text');
		InsertItem(InsertItem(AddItem('text'),Nil,'some text'),Nil,'another text');
	end;
end
141
Can I programmatically scroll the control
with AxG2antt1 do
begin
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
	Items.AddItem(TObject(3));
	PutItems(GetItems(TObject(0)),Nil);
	PutItems(GetItems(TObject(0)),Nil);
	Scroll(EXG2ANTTLib.ScrollEnum.exScrollDown,Nil);
end
140
Do you have some function to load data from a safe array
with AxG2antt1 do
begin
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	PutItems(GetItems(TObject(0)),Nil);
end
139
Do you have some function to retrieve all items to a safe array
with AxG2antt1 do
begin
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	PutItems(GetItems(TObject(0)),Nil);
	Items.AddItem(TObject(1));
	PutItems(GetItems(TObject(0)),Nil);
	Items.AddItem(TObject(2));
	PutItems(GetItems(TObject(0)),Nil);
	Items.AddItem(TObject(3));
end
138
How can still display the selected items when the control loses the focus
with AxG2antt1 do
begin
	HideSelection := False;
	Columns.Add('Column');
	with Items do
	begin
		AddItem('Item 3');
		AddItem('Item 1');
		SelectItem[AddItem('Item 2')] := True;
	end;
end
137
How can I hide a column
with AxG2antt1 do
begin
	(Columns.Add('Hidden') as EXG2ANTTLib.Column).Visible := False;
	Columns.Add('2');
	Columns.Add('3');
	Columns.Add('4');
	Columns.Add('5');
end
136
How can I ensure that a column is visible and fits the control's client area
with AxG2antt1 do
begin
	ColumnAutoResize := False;
	(Columns.Add('1') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('2') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('3') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('4') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('5') as EXG2ANTTLib.Column).Width := 128;
	EnsureVisibleColumn('5');
end
135
I've seen that the width of the tooltip is variable. Can I make it larger
with AxG2antt1 do
begin
	ToolTipWidth := 328;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := 'this is a tooltip that should be very very very very very very very long';
end
134
How do I disable showing the tooltip for all control
with AxG2antt1 do
begin
	ToolTipDelay := 0;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
133
How do I let the tooltip being displayed longer
with AxG2antt1 do
begin
	ToolTipPopDelay := 10000;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
132
How do I show the tooltip quicker
with AxG2antt1 do
begin
	ToolTipDelay := 1;
	(Columns.Add('tootip') as EXG2ANTTLib.Column).ToolTip := 'this is a tooltip assigned to a column';
end
131
How do I change the caption being displayed in the control's filter bar

with AxG2antt1 do
begin
	FilterBarCaption := 'your filter caption';
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
130
How do I disable expanding or collapsing an item when user double clicks it
with AxG2antt1 do
begin
	ExpandOnDblClick := False;
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
	Indent := 13;
	Columns.Add('Column 1');
	with Items do
	begin
		h := AddItem('Root');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
	end;
end
129
How do I search case sensitive, using your incremental search feature
with AxG2antt1 do
begin
	AutoSearch := True;
	ASCIILower := '';
	with Columns do
	begin
		(Add('exStartWith') as EXG2ANTTLib.Column).AutoSearch := EXG2ANTTLib.AutoSearchEnum.exStartWith;
		(Add('exContains') as EXG2ANTTLib.Column).AutoSearch := EXG2ANTTLib.AutoSearchEnum.exContains;
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('text')),TObject(1)] := 'another text';
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('text')),TObject(1)] := 'another text';
	end;
end
128
How do I disable the control
with AxG2antt1 do
begin
	Enabled := False;
end
127
How do I enable the incremental search feature within a column
with AxG2antt1 do
begin
	AutoSearch := True;
	with Columns do
	begin
		(Add('exStartWith') as EXG2ANTTLib.Column).AutoSearch := EXG2ANTTLib.AutoSearchEnum.exStartWith;
		(Add('exContains') as EXG2ANTTLib.Column).AutoSearch := EXG2ANTTLib.AutoSearchEnum.exContains;
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('text')),TObject(1)] := 'another text';
	end;
	with Items do
	begin
		CellValue[TObject(AddItem('text')),TObject(1)] := 'another text';
	end;
end
126
How do I call your x-script language
with AxG2antt1 do
begin
	with (ExecuteTemplate('Columns.Add(`Column`)') as EXG2ANTTLib.Column) do
	begin
		HeaderStrikeOut := True;
		HeaderBold := True;
	end;
end
125
How do I call your x-script language
with AxG2antt1 do
begin
	Template := 'Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`';
end
124
How do I show alternate rows in different background color

with AxG2antt1 do
begin
	BackColorAlternate := Color.FromArgb(240,240,240);
	Columns.Add('Column');
	with Items do
	begin
		AddItem('Item 1');
		AddItem('Item 2');
		AddItem('Item 3');
		AddItem('Item 4');
		AddItem('Item 5');
	end;
end
123
How do I enlarge the drop down filter window
with AxG2antt1 do
begin
	FilterBarDropDownHeight := -320;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterBarDropDownWidth := -320;
	end;
	Items.AddItem('Item 1');
	Items.AddItem('Item 2');
end
122
How do I filter programmatically the control
with AxG2antt1 do
begin
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exPattern;
		Filter := 'Item*';
	end;
	Items.AddItem('Item 1');
	Items.AddItem('');
	Items.AddItem('Item 2');
	ApplyFilter();
end
121
How do I change the font of the control's filterbar
with AxG2antt1 do
begin
	FilterBarFont.Size := 20;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
120
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	(GetOcx() as EXG2ANTTLib.G2antt).FilterBarBackColor := $1000000;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
119
How do I change the background color of the control's filterbar
with AxG2antt1 do
begin
	FilterBarBackColor := Color.FromArgb(240,240,240);
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
118
How do I change the foreground color of the control's filterbar

with AxG2antt1 do
begin
	FilterBarForeColor := Color.FromArgb(255,0,0);
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
117
How do I change the height of the control's filterbar
with AxG2antt1 do
begin
	FilterBarHeight := 32;
	with (Columns.Add('Column') as EXG2ANTTLib.Column) do
	begin
		DisplayFilterButton := True;
		FilterType := EXG2ANTTLib.FilterTypeEnum.exBlanks;
	end;
	ApplyFilter();
end
116
How do I change the header's foreground color
with AxG2antt1 do
begin
	ForeColorHeader := Color.FromArgb(255,0,0);
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	Items.AddItem('Item 1');
end
115
I have a picture on the control's background, the question is how do I draw selection as semi-transparent
with AxG2antt1 do
begin
	(GetOcx() as EXG2ANTTLib.G2antt).Picture := AxG2antt1.ExecuteTemplate('loadpicture(`c:\exontrol\images\zipdisk.gif`)');
	SelBackMode := EXG2ANTTLib.BackModeEnum.exTransparent;
	Columns.Add('Column');
	Items.AddItem('Item 1');
	Items.AddItem('Item 2');
end
114
It seems that the control uses the TAB key, is there any way to avoid that
with AxG2antt1 do
begin
	UseTabKey := False;
end
113
I have FullRowSelect property on False, how do I force the user to select cells only in a specified column
with AxG2antt1 do
begin
	SelectColumnIndex := 1;
	FullRowSelect := EXG2ANTTLib.CellSelectEnum.exColumnSel;
	SelectColumn := True;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	with Items do
	begin
		CellValue[TObject(AddItem('Item 1')),TObject(1)] := 'SubItem 1';
	end;
end
112
How do I assign a database to your control, using ADO, ADOR or ADODB objects
with AxG2antt1 do
begin
	ColumnAutoResize := False;
	ContinueColumnScroll := False;
	rs := (ComObj.CreateComObject(ComObj.ProgIDToClassID('ADOR.Recordset')) as ADODB.Recordset);
	with rs do
	begin
		Open('Orders','Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExG2antt\Sample\Access\misc.accdb',3,3,Nil);
	end;
	DataSource := (rs as ADODB.Recordset);
end
111
How do I change the visual appearance effect for the selected item, using EBN
with AxG2antt1 do
begin
	VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn');
	(GetOcx() as EXG2ANTTLib.G2antt).SelBackColor := $1000000;
	SelForeColor := Color.FromArgb(0,0,0);
	ShowFocusRect := False;
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
end
110
How do I change the colors for the selected item
with AxG2antt1 do
begin
	SelBackColor := Color.FromArgb(0,0,0);
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
end
109
How can I hide the frame/rectangle arround the focused item
with AxG2antt1 do
begin
	BeginUpdate();
	SelBackColor := BackColor;
	SelForeColor := ForeColor;
	ShowFocusRect := False;
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem('');
	EndUpdate();
end
108
How can I change the control's font
with AxG2antt1 do
begin
	Font.Name := 'Tahoma';
	Columns.Add('Column');
end
107
I can't scroll to the end of the data. What can I do
with AxG2antt1 do
begin
	ScrollBySingleLine := True;
	DrawGridLines := EXG2ANTTLib.GridLinesEnum.exRowLines;
	Columns.Add('Column');
	with Items do
	begin
		ItemHeight[AddItem(TObject(0))] := 13;
	end;
	PutItems(GetItems(TObject(0)),Nil);
	with Items do
	begin
		ItemHeight[AddItem(TObject(1))] := 26;
	end;
	PutItems(GetItems(TObject(0)),Nil);
	with Items do
	begin
		ItemHeight[AddItem(TObject(2))] := 36;
	end;
	PutItems(GetItems(TObject(0)),Nil);
	with Items do
	begin
		ItemHeight[AddItem(TObject(3))] := 48;
	end;
	PutItems(GetItems(TObject(0)),Nil);
end
106
How do I specify the column where the tree lines / hierarchy are shown

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	TreeColumnIndex := 1;
	Columns.Add('Column 1');
	Columns.Add('Column 2');
	with Items do
	begin
		h := AddItem('Root 1.1');
		CellValue[TObject(h),TObject(1)] := 'Root 1.2';
		CellValue[TObject(InsertItem(h,Nil,'Child 1.1')),TObject(1)] := 'Child 1.2';
		CellValue[TObject(InsertItem(h,Nil,'Child 2.1')),TObject(1)] := 'Child 2.2';
		ExpandItem[h] := True;
		h := AddItem('Root 2.1');
		CellValue[TObject(h),TObject(1)] := 'Root 2.2';
		CellValue[TObject(InsertItem(h,Nil,'Child 1.1')),TObject(1)] := 'Child 1.2';
	end;
end
105
How do I specify the indentation of the child items relative to their parents

with AxG2antt1 do
begin
	LinesAtRoot := EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
	Indent := 11;
	Columns.Add('Column');
	with Items do
	begin
		h := AddItem('Root 1');
		InsertItem(h,Nil,'Child 1');
		InsertItem(h,Nil,'Child 2');
		ExpandItem[h] := True;
		h := AddItem('Root 2');
		InsertItem(h,Nil,'Child');
	end;
end
104
Is there any option to select an item using the right button of the mouse (rclick)
with AxG2antt1 do
begin
	RClickSelect := True;
	Columns.Add('Column');
	Items.AddItem('Item 1');
	Items.AddItem('Item 2');
end
103
I have FullRowSelect property on False, how do I select a column
with AxG2antt1 do
begin
	SelectColumnIndex := 1;
	FullRowSelect := EXG2ANTTLib.CellSelectEnum.exColumnSel;
end
102
How can I scroll columns one by one, not pixel by pixel
with AxG2antt1 do
begin
	ContinueColumnScroll := False;
	ColumnAutoResize := False;
	(Columns.Add('1') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('2') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('3') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('4') as EXG2ANTTLib.Column).Width := 128;
	(Columns.Add('5') as EXG2ANTTLib.Column).Width := 128;
end
101
How can I enable multiple items selection
with AxG2antt1 do
begin
	SingleSel := False;
	Columns.Add('Column');
	Items.AddItem(TObject(0));
	Items.AddItem(TObject(1));
	Items.AddItem(TObject(2));
end